Journals
  Publication Years
  Keywords
Search within results Open Search
Please wait a minute...
For Selected: Toggle Thumbnails
Privacy-preserving federated learning algorithm based on blockchain in edge computing
Wanzhen CHEN, En ZHANG, Leiyong QIN, Shuangxi HONG
Journal of Computer Applications    2023, 43 (7): 2209-2216.   DOI: 10.11772/j.issn.1001-9081.2022060909
Abstract282)   HTML19)    PDF (1974KB)(378)       Save

Aiming at the problems of the leakage of model parameters, that the untrusted server may return wrong aggregation results, and the users participating in training may upload wrong or low-quality model parameters in the process of federated learning in edge computing scenarios, a privacy-preserving federated learning algorithm based on blockchain in edge computing was proposed. In the training process, firstly, the global model parameters were trained on the local dataset of each user by the users, and the model parameters obtained by training were uploaded to neighboring edge nodes through secret sharing, thereby protecting the local model parameters of the users. Secondly, the Euclidean distances between the shares of model parameters received by the edge nodes were computed, and the results of these calculations were uploaded to the blockchain. Finally, the Euclidean distances between model parameters were reconstructed by the blockchain, and then the global model parameter was aggregated after removing the poisoned updates. The security analysis proves the security of the proposed algorithm: even in the case of collusion of a part of edge nodes, the users’ local model parameter information will not be leaked. At the same time, the experimental results show the high accuracy of this algorithm: the accuracy of the proposed algorithm is 94.2% when the proportion of poisoned samples is 30%, which is close to the accuracy of the Federated Averaging (FedAvg) algorithm without poisoned samples (97.8%), and the accuracy of FedAvg algorithm is decreased to 68.7% when the proportion of poisoned samples is 30%.

Table and Figures | Reference | Related Articles | Metrics